<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="form-group">
        <label for="pid" class="control-label col-xs-12 col-sm-2">{:__('Parent')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select id="pid" class="form-control selectpickernew" name="row[pid]" dataurl="ajax/department?tree=1">
              <!-- <option value="1"> 超级管理组</option>
              <option value="2">&nbsp;├ 二级管理组</option>
              <option value="3">&nbsp;│&nbsp;├ 三级管理组</option>
              <option value="5">&nbsp;│&nbsp;└ 三级管理组2</option>
              <option value="4">&nbsp;└ 二级管理组2</option> -->
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="name" name="row[name]" value="" data-rule="required" />
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('Listorder')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="number" class="form-control" id="listorder" name="row[listorder]" value="0" />
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('Manager')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select id="manager" class="form-control selectpickernew" name="row[manager]" dataurl="ajax/manager">

            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">{:__('Intro')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="intro" name="row[intro]" rows="10" class="form-control"></textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
